package com.bw.wxy.mvp.contract;

import com.bw.wxy.mvp.base.model.IModel;
import com.bw.wxy.mvp.base.view.IView;
import com.bw.wxy.mvp.model.entity.BaseEntity;

import java.util.Map;

import io.reactivex.Observable;

public interface LREContract {
    interface ILREModel extends IModel{
        Observable<BaseEntity>requestAll(Map<String,Object>...maps);

        Observable<BaseEntity>requestRefreshLoad(Map<String,Object> map);
    }

    interface ILREView extends IView{
        void refreshAll(BaseEntity baseEntity);

        void refreshRecyclerView(BaseEntity baseEntity);

        void loadMoreRecyclerView(BaseEntity baseEntity);
    }
}

